/**
 * Created with IntelliJ IDEA.
 * Description:类和对象
 * User: dings
 * Date: 2024-05-09
 * Time: 20:06
 */
public class Student {
    public String name;
    public int age;
    public void run() {
        System.out.println(name+"正在跑步！");
    }

    public static void main(String[] args) {
        Student student1 = new Student();
        student1.name = "dings";
        student1.age = 18;
        student1.run();
    }
}
